package cn.java.threadmodel.workthread;

/**
 * @author 小石潭记
 * @date 2021/12/18 19:52
 * @Description: 客户端
 */
public class WorkerClient {
    public static void main(String[] args) {
        final Channel channel = new Channel(5);
        channel.startWorker();
        new TransportThread("张三",channel).start();
        new TransportThread("李四",channel).start();
        new TransportThread("王五",channel).start();
    }
}
